package com.zhiyou100.model;

import java.io.Serializable;

public class Stu implements Serializable{
	/**
	 * 二级缓存必须加id
	 */
	private static final long serialVersionUID = 744337370857966252L;
	private Integer id;
	private String name;
	private Integer teaId;
	private Tea tea;
	@Override
	public String toString() {
		return "Stu [id=" + id + ", name=" + name + ", teaId=" + teaId + ", tea=" + tea + "]";
	}
	public Stu(Integer id, String name, Integer teaId, Tea tea) {
		super();
		this.id = id;
		this.name = name;
		this.teaId = teaId;
		this.tea = tea;
	}
	public Stu() {
		super();
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getTeaId() {
		return teaId;
	}
	public void setTeaId(Integer teaId) {
		this.teaId = teaId;
	}
	public Tea getTea() {
		return tea;
	}
	public void setTea(Tea tea) {
		this.tea = tea;
	}

	

}
